﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SHRIS.MIS.Entity.ScadaData
{
    [Table("tb_toolOffset")]
    public class ToolOffsetEntity : BaseScadaEnetity
    {
        /// <summary>
        /// 记录主键
        /// </summary>
        [Key]
        [Column("OffsetId")]
        public Guid Id { get; set; }

        /// <summary>
        /// 刀补号
        /// </summary>
        [Required]
        public int OffsetNumber { get; set; }

        /// <summary>
        /// 刀具ID
        /// </summary>
        [Required]
        public Guid ToolId { get; set; }

        /// <summary>
        /// 刀补X
        /// </summary>
        [Required]
        public double XOffset { get; set; }

        /// <summary>
        /// 刀补Y
        /// </summary>
        [Required]
        public double YOffset { get; set; }

        /// <summary>
        /// 刀补Z
        /// </summary>
        [Required]
        public double ZOffset { get; set; }
    }
}
